<table width="100%" align="center">
<tr>
    <td>
        <div id="listados" class="ui-widget" align="center" style="width: 100%">
            <table id="users" border="0" width="70%" align="center"  class="ui-widget ui-widget-content" border="1">
                <thead class="ui-widget-header ">
                    <td align="center"><b>Id</b></td>
                    <td align="center"><b>Código</b></td>
                    <td align="center"><b>Nº Interno</b></td>
                    <td align="center"><b>Nombre</b></td>
                    <td align="center"><b>Marca</b></td>
                    <td align="center"><b>Año</b></td>
                    <td align="center"><b>Toneladas</b></td>
                    <td align="center"><b>Placa</b></td>
                    <td align="center"><b>Plan</b></td>
                    <td align="center"><b>Editar</b></td>
                </thead>

                <? foreach ($centros_costo->result()  as $centro_costo){  ?>
                    <tr class="editar_subcuenta">
                        <td>
                            <?echo $centro_costo->id_centro_costo?>
                        </td>
                        <td>
                            <?echo $centro_costo->codigo_centro_costo?>     
                        </td>
                        <td>
                            <?echo $centro_costo->nro_interno?>  
                        </td>
                        <td>
                            <?echo $centro_costo->nm_centro_costo?>                                
                        </td>
                        <td>
                            <?echo $centro_costo->marca?>        
                        </td>
                        <td>
                            <?echo $centro_costo->anio?>        
                        </td>                        
                        <td>
                            <?echo $centro_costo->toneladas?>        
                        </td>      
                        <td>
                            <?echo $centro_costo->placa?>        
                        </td>  
                        <td>
                            <?echo $centro_costo->id_plan_cuenta?>        
                        </td>                         
                          <td><a id="editar"  href="<?=$this->config->item('base_url')?>/index.php/centros_costos/editar_centro_costo/<?php echo $centro_costo->id_centro_costo?>">
                                <img src="<?=$this->config->item('base_url')?>/public/images/edit_action.png" border="0"/></a>
                        </td>
                    </tr>
                <?}?>
            </table>
        </div>
    </td>
</tr>    
</table>